package com.library.service.api;

import com.library.bean.Book;

import java.util.ArrayList;

/**
 * @author One
 * @version 1.0
 * @date 2021/9/26 10:42
 */
public interface BookService {
    public ArrayList<Book> queryBook(String searchWord);

    public ArrayList<Book> getAllBooks();

    public boolean matchBook(String searchWord);

    public boolean addBook(Book book);

    public Book getBook(Long bookId);

    public boolean editBook(Book book);

    public boolean deleteBook(Long bookId);
}
